import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import moment from 'moment'


Vue.config.productionTip = false
import './utils/vant.js'
//导入amfe-flexible
import 'amfe-flexible'
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
/* 全局过滤器 */
//导入moment

//设置语言
moment.locale('zh-cn')
Vue.filter('showTime',(value)=>{
  return moment(value).fromNow()
})